<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
	</head>
	<body>
		<div id="innerHtmlDivId"></div>
		<div id="innerTextDivId"></div>
		
		<script type="text/javascript">
			var innerHtmlDiv = document.getElementById("innerHtmlDivId");
			var innerTextDiv = document.getElementById("innerTextDivId");
			innerHtmlDiv.innerHTML = "<span style='color:red;'>innerHTML</span>"
			innerTextDiv.innerText = "<span style='color:red;'>innerHTML</span>"
		</script>
	</body>
</html>
